package com.microhifo.mapper;

import org.apache.ibatis.annotations.Param;

import com.microhifo.model.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer uid);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer uid);

    User selectByOpenID(@Param("openID") String openID);
    
    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
}